import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Insets;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;
import java.util.logging.Logger;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFormattedTextField;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;
import org.rsbot.script.ScriptManifest;
import org.rsbot.util.GlobalConfiguration.Paths;

class WhiteBearAIOMagic$WhiteBearGUI
{
  private static final long serialVersionUID = 1L;
  public boolean first = false; public boolean useSetting = true;
  private JFrame WhiteBearGUI;
  private JPanel panel1;
  private JTabbedPane tabbedPane1;
  private JPanel panel6;
  private JCheckBox radioButton12;
  private JComboBox teleportCombo;
  private JCheckBox radioButton25;
  private JButton button2;
  private JLabel label7;
  private JComboBox spellTypeCombo;
  private JLabel label31;
  private JFormattedTextField tfItemID;
  private JComboBox alchemyCombo;
  private JComboBox boltCombo;
  private JLabel label32;
  private JLabel label33;
  private JComboBox curseCombo;
  private JLabel label34;
  private JFormattedTextField tfNpcID;
  private JComboBox enchantCombo;
  private JComboBox othersCombo;
  private JLabel label35;
  private JComboBox bankCombo;
  private JLabel label36;
  private JComboBox superheatCombo;
  private JPanel panel2;
  private JFormattedTextField jTextField;
  private JCheckBox radioButton22;
  private JLabel label4;
  private JComboBox clrSelected;
  private JLabel label5;
  private JLabel label6;
  private JLabel label16;
  private JFormattedTextField textSecond;
  private JLabel label15;
  private JFormattedTextField textMinute;
  private JLabel label14;
  private JFormattedTextField textHour;
  private JLabel label13;
  private JFormattedTextField jTextField2;
  private JLabel label21;
  private JCheckBox radioButton23;
  private JLabel label30;
  private JFormattedTextField tfTextFont;
  private JPanel panel3;
  private JCheckBox radioButton1;
  private JCheckBox radioButton2;
  private JLabel label8;
  private JFormattedTextField formattedTextField1;
  private JLabel label9;
  private JLabel label10;
  private JFormattedTextField formattedTextField3;
  private JLabel label11;
  private JFormattedTextField formattedTextField2;
  private JLabel label12;
  private JFormattedTextField formattedTextField4;
  private JCheckBox radioButton3;
  private JPanel panel5;
  private JCheckBox check3;
  private JCheckBox check2;
  private JCheckBox check4;
  private JLabel label22;
  private JFormattedTextField jTextField3;
  private JLabel label23;
  private JFormattedTextField jTextField4;
  private JLabel label24;
  private JLabel label25;
  private JLabel label26;
  private JLabel label27;
  private JLabel label28;
  private JFormattedTextField jTextField5;
  private JLabel label29;
  private JFormattedTextField jTextField6;
  private JPanel panel4;
  private JTextArea textArea3;
  private JCheckBox radioButton11;
  private JLabel label17;
  private JFormattedTextField formattedTextField11;
  private JLabel label18;
  private JFormattedTextField formattedTextField21;
  private JCheckBox radioButton26;
  private JFormattedTextField formattedTextField31;
  private JLabel label19;
  private JLabel label20;
  private JFormattedTextField formattedTextField22;
  private JButton button1;
  private JLabel label1;
  private JLabel label2;

  public boolean loadSettings()
  {
    try
    {
      WhiteBearAIOMagic.access$10500(this.this$0).load(new FileInputStream(new File(GlobalConfiguration.Paths.getSettingsDirectory(), "WhiteBearAIOMagicV2.ini")));
    }
    catch (FileNotFoundException localFileNotFoundException)
    {
      WhiteBearAIOMagic.access$14000(this.this$0).warning("[GUI] Settings file was not found!");
      this.first = true;
      return false;
    } catch (IOException localIOException) {
      WhiteBearAIOMagic.access$14100(this.this$0).warning("[GUI] Error occurred when loading settings!");
      return false;
    }
    try {
      if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("UseSetting") != null)
        this.useSetting = Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("UseSetting"));
    }
    catch (Exception localException1) {
    }
    if (this.useSetting) {
      try {
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("ItemID") != null)
          this.tfItemID.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("ItemID"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("NpcID") != null) {
          this.tfNpcID.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("NpcID"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("SpellTypeCombo") != null) {
          this.spellTypeCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("SpellTypeCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("SuperheatCombo") != null) {
          this.superheatCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("SuperheatCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BankCombo") != null) {
          this.bankCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BankCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AlchemyCombo") != null) {
          this.alchemyCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AlchemyCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BoltCombo") != null) {
          this.boltCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BoltCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("EnchantCombo") != null) {
          this.enchantCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("EnchantCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CurseCombo") != null) {
          this.curseCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CurseCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("OthersCombo") != null) {
          this.othersCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("OthersCombo")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TeleportCombo") != null) {
          this.teleportCombo.setSelectedIndex(Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TeleportCombo")));
        }

        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("UseChatRes") != null) {
          this.radioButton12.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("UseChatRes")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckUpdate") != null) {
          this.radioButton25.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckUpdate")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("PaintColour") != null) {
          this.clrSelected.setSelectedIndex(Integer.valueOf(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("PaintColour")).intValue());
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("PaintFont") != null)
          this.tfTextFont.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("PaintFont"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Fkeys") != null) {
          this.radioButton23.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Fkeys")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MinMouseSpeed") != null)
          this.jTextField.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MinMouseSpeed"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MaxMouseSpeed") != null)
          this.jTextField2.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MaxMouseSpeed"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Antialias") != null) {
          this.radioButton22.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Antialias")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Breaking") != null) {
          this.radioButton1.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Breaking")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandomBreak") != null) {
          this.radioButton2.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandomBreak")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckFriend") != null) {
          this.check2.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckFriend")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckExperience") != null) {
          this.check3.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CheckExperience")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("ScreenLookaway") != null) {
          this.check4.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("ScreenLookaway")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutA1") != null)
          this.jTextField3.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutA1"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutA2") != null)
          this.jTextField4.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutA2"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutB1") != null)
          this.jTextField6.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutB1"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutB2") != null)
          this.jTextField5.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("TimeoutB2"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BreakLogout") != null) {
          this.radioButton3.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("BreakLogout")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MidTime") != null) {
          this.formattedTextField1.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MidTime"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandTime") != null) {
          this.formattedTextField3.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandTime"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MidLength") != null) {
          this.formattedTextField2.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("MidLength"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandLength") != null) {
          this.formattedTextField4.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RandLength"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopH") != null)
          this.textHour.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopH"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopM") != null)
          this.textMinute.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopM"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopS") != null)
          this.textSecond.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("AutoStopS"));
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Remote") != null) {
          this.radioButton11.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Remote")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteName") != null) {
          this.formattedTextField11.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteName"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteText") != null) {
          this.formattedTextField21.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteText"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteReply") != null) {
          this.formattedTextField22.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RemoteReply"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Relog") != null) {
          this.radioButton26.setSelected(Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("Relog")));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RelogTime") != null) {
          this.formattedTextField31.setText(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("RelogTime"));
        }

        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRuseLevelRes") != null) {
          this.this$0.chatRes.doLevelRes = Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRuseLevelRes"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRuseCustomRes") != null) {
          this.this$0.chatRes.doCustomRes = Boolean.parseBoolean(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRuseCustomRes"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRtradeRes") != null) {
          this.this$0.chatRes.tradeRes = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRtradeRes").toLowerCase().split("/");
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRgreetingRes") != null) {
          this.this$0.chatRes.greetingRes = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRgreetingRes").toLowerCase().split("/");
        }

        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRbotterRes") != null) {
          this.this$0.chatRes.botterRes = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRbotterRes").toLowerCase().split("/");
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRlevelRes") != null) {
          this.this$0.chatRes.levelRes = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRlevelRes").toLowerCase().split("/");
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRdetection") != null) {
          this.this$0.chatRes.customDetect = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRdetection").toLowerCase().split("/");
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRresponse") != null) {
          this.this$0.chatRes.customRes = WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRresponse").toLowerCase().split("/");
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRcustomTO") != null) {
          this.this$0.chatRes.customTO = Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRcustomTO"));
        }
        if (WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRcustomTOR") != null)
          this.this$0.chatRes.customTOR = Integer.parseInt(WhiteBearAIOMagic.access$10500(this.this$0).getProperty("CRcustomTOR"));
      }
      catch (Exception localException2) {
        WhiteBearAIOMagic.access$14200(this.this$0).warning("[GUI] Settings file is corrupt, using default settings!");
      }
    }
    return true;
  }

  private WhiteBearAIOMagic$WhiteBearGUI(WhiteBearAIOMagic paramWhiteBearAIOMagic) {
    initComponents();
  }

  private void spellTypeComboItemStateChanged(ItemEvent paramItemEvent) {
    int i = this.spellTypeCombo.getSelectedIndex();
    this.label36.setVisible(false);
    this.label35.setVisible(false);
    this.label34.setVisible(false);
    this.label33.setVisible(false);
    this.label32.setVisible(false);
    this.label31.setVisible(false);
    this.tfNpcID.setVisible(false);
    this.tfItemID.setVisible(false);
    this.superheatCombo.setVisible(false);
    this.alchemyCombo.setVisible(false);
    this.curseCombo.setVisible(false);
    this.enchantCombo.setVisible(false);
    this.othersCombo.setVisible(false);
    this.bankCombo.setVisible(false);
    this.teleportCombo.setVisible(false);
    this.boltCombo.setVisible(false);
    switch (i) {
    case 0:
      this.teleportCombo.setVisible(true);
      this.label32.setVisible(true);
      break;
    case 1:
      this.alchemyCombo.setVisible(true);
      this.label32.setVisible(true);
      this.label31.setVisible(true);
      this.tfItemID.setVisible(true);
      break;
    case 2:
      this.curseCombo.setVisible(true);
      this.label33.setVisible(true);
      this.label34.setVisible(true);
      this.tfNpcID.setVisible(true);
      break;
    case 3:
      this.alchemyCombo.setVisible(true);
      this.label32.setVisible(true);
      this.label31.setVisible(true);
      this.tfItemID.setVisible(true);
      this.curseCombo.setVisible(true);
      this.label33.setVisible(true);
      this.label34.setVisible(true);
      this.tfNpcID.setVisible(true);
      break;
    case 4:
      this.enchantCombo.setVisible(true);
      this.label32.setVisible(true);
      this.label31.setVisible(true);
      this.tfItemID.setVisible(true);
      this.bankCombo.setVisible(true);
      this.label35.setVisible(true);
      break;
    case 5:
      this.superheatCombo.setVisible(true);
      this.label36.setVisible(true);
      this.bankCombo.setVisible(true);
      this.label35.setVisible(true);
      break;
    case 6:
      this.boltCombo.setVisible(true);
      this.label32.setVisible(true);
      break;
    case 7:
      this.othersCombo.setVisible(true);
      this.label32.setVisible(true);
      this.label31.setVisible(true);
      this.tfItemID.setVisible(true);
      this.bankCombo.setVisible(true);
      this.label35.setVisible(true);
    }
  }

  private void button1ActionPerformed(ActionEvent paramActionEvent)
  {
    if (WhiteBearAIOMagic.access$14300(this.this$0)) {
      WhiteBearAIOMagic.access$14400(this.this$0).severe("Chat Responder GUI is still active!");
    } else {
      String str1 = (String)this.bankCombo.getSelectedItem();
      if (str1.contains("Bankers"))
        WhiteBearAIOMagic.access$14502(this.this$0, 1);
      else if (str1.contains("Bank Booths"))
        WhiteBearAIOMagic.access$14502(this.this$0, 2);
      else if (str1.contains("Soul Wars"))
        WhiteBearAIOMagic.access$14502(this.this$0, 4);
      else {
        WhiteBearAIOMagic.access$14502(this.this$0, 3);
      }

      String str2 = (String)this.spellTypeCombo.getSelectedItem();
      if (str2.contains("Teleports"))
        WhiteBearAIOMagic.access$2102(this.this$0, 0);
      else if (str2.contains("Alchemy"))
        WhiteBearAIOMagic.access$2102(this.this$0, 1);
      else if (str2.contains("Curses"))
        WhiteBearAIOMagic.access$2102(this.this$0, 2);
      else if (str2.contains("Alch + Curse"))
        WhiteBearAIOMagic.access$2102(this.this$0, 3);
      else if (str2.contains("Enchants"))
        WhiteBearAIOMagic.access$2102(this.this$0, 4);
      else if (str2.contains("Superheat"))
        WhiteBearAIOMagic.access$2102(this.this$0, 5);
      else if (str2.contains("Bolt Enchant"))
        WhiteBearAIOMagic.access$2102(this.this$0, 8);
      else if (str2.contains("Others"))
        WhiteBearAIOMagic.access$2102(this.this$0, 99);
      String str3;
      if (WhiteBearAIOMagic.access$2100(this.this$0) == 0) {
        str3 = (String)this.teleportCombo.getSelectedItem();
        if (str3.contains("Varrock Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 40);
          WhiteBearAIOMagic.access$14702(this.this$0, 35.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Varrock Teleport");
        } else if (str3.contains("Lumbridge Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 43);
          WhiteBearAIOMagic.access$14702(this.this$0, 41.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Lumbridge Teleport");
        } else if (str3.contains("Falador Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 46);
          WhiteBearAIOMagic.access$14702(this.this$0, 47.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Falador Teleport");
        } else if (str3.contains("Camelot Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 51);
          WhiteBearAIOMagic.access$14702(this.this$0, 55.5D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Camelot Teleport");
        } else if (str3.contains("Ardougne Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 57);
          WhiteBearAIOMagic.access$14702(this.this$0, 61.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Ardougne Teleport");
        } else if (str3.contains("Watchtower Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 62);
          WhiteBearAIOMagic.access$14702(this.this$0, 68.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Watchtower Teleport");
        } else if (str3.contains("Trollheim Teleport")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 69);
          WhiteBearAIOMagic.access$14702(this.this$0, 68.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Trollheim Teleport");
        } else if (str3.contains("Teleport to Ape Atoll")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 72);
          WhiteBearAIOMagic.access$14702(this.this$0, 74.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Teleport to Ape Atoll");
        } else {
          WhiteBearAIOMagic.access$14900(this.this$0).severe("An error occured!");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 1) {
        str3 = (String)this.alchemyCombo.getSelectedItem();
        if (str3.contains("Low Level Alchemy")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 38);
          WhiteBearAIOMagic.access$14702(this.this$0, 31.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Low Level Alchemy");
        } else if (str3.contains("High Level Alchemy")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 59);
          WhiteBearAIOMagic.access$14702(this.this$0, 65.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "High Level Alchemy");
        } else {
          WhiteBearAIOMagic.access$15000(this.this$0).severe("An error occured!");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 2) {
        str3 = (String)this.curseCombo.getSelectedItem();
        if (str3.contains("Confuse")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 26);
          WhiteBearAIOMagic.access$14702(this.this$0, 13.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Confuse");
        } else if (str3.contains("Weaken")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 31);
          WhiteBearAIOMagic.access$14702(this.this$0, 21.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Weaken");
        } else if (str3.contains("Curse")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 35);
          WhiteBearAIOMagic.access$14702(this.this$0, 29.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Curse");
        } else if (str3.contains("Bind")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 36);
          WhiteBearAIOMagic.access$14702(this.this$0, 30.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Bind");
        } else if (str3.contains("Snare")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 55);
          WhiteBearAIOMagic.access$14702(this.this$0, 60.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Snare");
        } else if (str3.contains("Vulnerability")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 75);
          WhiteBearAIOMagic.access$14702(this.this$0, 76.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Vulnerability");
        } else if (str3.contains("Enfeeble")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 78);
          WhiteBearAIOMagic.access$14702(this.this$0, 83.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Enfeeble");
        } else if (str3.contains("Entangle")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 81);
          WhiteBearAIOMagic.access$14702(this.this$0, 89.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Entangle");
        } else if (str3.contains("Stun")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 82);
          WhiteBearAIOMagic.access$14702(this.this$0, 90.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Stun");
        } else {
          WhiteBearAIOMagic.access$15100(this.this$0).severe("An error occured!");
        }

      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 3) {
        str3 = (String)this.alchemyCombo.getSelectedItem();
        if (str3.contains("Low Level Alchemy")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 38);
          WhiteBearAIOMagic.access$14702(this.this$0, 31.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Low Level Alchemy");
        } else if (str3.contains("High Level Alchemy")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 59);
          WhiteBearAIOMagic.access$14702(this.this$0, 65.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "High Level Alchemy");
        } else {
          WhiteBearAIOMagic.access$15200(this.this$0).severe("An error occured!");
        }
        String str4 = (String)this.curseCombo.getSelectedItem();
        if (str4.contains("Confuse"))
          WhiteBearAIOMagic.access$15302(this.this$0, 26);
        else if (str4.contains("Weaken"))
          WhiteBearAIOMagic.access$15302(this.this$0, 31);
        else if (str4.contains("Curse"))
          WhiteBearAIOMagic.access$15302(this.this$0, 35);
        else if (str4.contains("Bind"))
          WhiteBearAIOMagic.access$15302(this.this$0, 36);
        else if (str4.contains("Snare"))
          WhiteBearAIOMagic.access$15302(this.this$0, 55);
        else if (str4.contains("Vulnerability"))
          WhiteBearAIOMagic.access$15302(this.this$0, 75);
        else if (str4.contains("Enfeeble"))
          WhiteBearAIOMagic.access$15302(this.this$0, 78);
        else if (str4.contains("Entangle"))
          WhiteBearAIOMagic.access$15302(this.this$0, 81);
        else if (str4.contains("Stun"))
          WhiteBearAIOMagic.access$15302(this.this$0, 82);
        else {
          WhiteBearAIOMagic.access$15400(this.this$0).severe("An error occured!");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 4) {
        str3 = (String)this.enchantCombo.getSelectedItem();
        if (str3.contains("Level 1")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 29);
          WhiteBearAIOMagic.access$14702(this.this$0, 17.5D);
          WhiteBearAIOMagic.access$14802(this.this$0, "1 Enchant");
        } else if (str3.contains("Level 2")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 41);
          WhiteBearAIOMagic.access$14702(this.this$0, 37.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "2 Enchant");
        } else if (str3.contains("Level 3")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 53);
          WhiteBearAIOMagic.access$14702(this.this$0, 59.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "3 Enchant");
        } else if (str3.contains("Level 4")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 61);
          WhiteBearAIOMagic.access$14702(this.this$0, 67.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "4 Enchant");
        } else if (str3.contains("Level 5")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 76);
          WhiteBearAIOMagic.access$14702(this.this$0, 78.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "5 Enchant");
        } else if (str3.contains("Level 6")) {
          WhiteBearAIOMagic.access$14602(this.this$0, 88);
          WhiteBearAIOMagic.access$14702(this.this$0, 97.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "6 Enchant");
        } else {
          WhiteBearAIOMagic.access$15500(this.this$0).severe("An error occured!");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 5) {
        WhiteBearAIOMagic.access$14602(this.this$0, 50);
        WhiteBearAIOMagic.access$14702(this.this$0, 53.0D);
        WhiteBearAIOMagic.access$14802(this.this$0, "Superheat Item");
        str3 = (String)this.superheatCombo.getSelectedItem();
        if (str3.contains("Bronze")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2349);
          WhiteBearAIOMagic.access$15702(this.this$0, 436);
          WhiteBearAIOMagic.access$15802(this.this$0, 13);
          WhiteBearAIOMagic.access$15902(this.this$0, 438);
          WhiteBearAIOMagic.access$16002(this.this$0, 13);
          WhiteBearAIOMagic.access$16102(this.this$0, "Bronze Bar");
        } else if (str3.contains("Iron")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2351);
          WhiteBearAIOMagic.access$15702(this.this$0, 440);
          WhiteBearAIOMagic.access$15902(this.this$0, -1);
          WhiteBearAIOMagic.access$16102(this.this$0, "Iron Bar");
        } else if (str3.contains("Steel")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2353);
          WhiteBearAIOMagic.access$15702(this.this$0, 440);
          WhiteBearAIOMagic.access$15802(this.this$0, 9);
          WhiteBearAIOMagic.access$15902(this.this$0, 453);
          WhiteBearAIOMagic.access$16002(this.this$0, 18);
          WhiteBearAIOMagic.access$16102(this.this$0, "Steel Bar");
        } else if (str3.contains("Silver")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2355);
          WhiteBearAIOMagic.access$15702(this.this$0, 442);
          WhiteBearAIOMagic.access$15902(this.this$0, -1);
          WhiteBearAIOMagic.access$16102(this.this$0, "Silver Bar");
        } else if (str3.contains("Gold")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2357);
          WhiteBearAIOMagic.access$15702(this.this$0, 444);
          WhiteBearAIOMagic.access$15902(this.this$0, -1);
          WhiteBearAIOMagic.access$16102(this.this$0, "Gold Bar");
        } else if (str3.contains("Mithril")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2359);
          WhiteBearAIOMagic.access$15702(this.this$0, 447);
          WhiteBearAIOMagic.access$15802(this.this$0, 5);
          WhiteBearAIOMagic.access$15902(this.this$0, 453);
          WhiteBearAIOMagic.access$16002(this.this$0, 20);
          WhiteBearAIOMagic.access$16102(this.this$0, "Mithril Bar");
        } else if (str3.contains("Adamant")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2361);
          WhiteBearAIOMagic.access$15702(this.this$0, 449);
          WhiteBearAIOMagic.access$15802(this.this$0, 3);
          WhiteBearAIOMagic.access$15902(this.this$0, 453);
          WhiteBearAIOMagic.access$16002(this.this$0, 18);
          WhiteBearAIOMagic.access$16102(this.this$0, "Adamant Bar");
        } else if (str3.contains("Rune")) {
          WhiteBearAIOMagic.access$15602(this.this$0, 2363);
          WhiteBearAIOMagic.access$15702(this.this$0, 451);
          WhiteBearAIOMagic.access$15802(this.this$0, 3);
          WhiteBearAIOMagic.access$15902(this.this$0, 453);
          WhiteBearAIOMagic.access$16002(this.this$0, 27);
          WhiteBearAIOMagic.access$16102(this.this$0, "Rune Bar");
        } else {
          WhiteBearAIOMagic.access$16200(this.this$0).severe("An error occured! [Superheating]");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 8) {
        WhiteBearAIOMagic.access$14602(this.this$0, 27);
        WhiteBearAIOMagic.access$14802(this.this$0, "Enchant Crossbow Bolt");
        str3 = (String)this.boltCombo.getSelectedItem();
        if (str3.contains("Sapphire")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 17.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9240);
          WhiteBearAIOMagic.access$16402(this.this$0, 29);
          WhiteBearAIOMagic.access$2202(this.this$0, "Sapphire Bolt");
        } else if (str3.contains("Emerald")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 37.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9241);
          WhiteBearAIOMagic.access$16402(this.this$0, 32);
          WhiteBearAIOMagic.access$2202(this.this$0, "Emerald Bolt");
        } else if (str3.contains("Ruby")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 59.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9242);
          WhiteBearAIOMagic.access$16402(this.this$0, 35);
          WhiteBearAIOMagic.access$2202(this.this$0, "Ruby Bolt");
        } else if (str3.contains("Diamond")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 67.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9243);
          WhiteBearAIOMagic.access$16402(this.this$0, 38);
          WhiteBearAIOMagic.access$2202(this.this$0, "Diamond Bolt");
        } else if (str3.contains("Dragon")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 78.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9244);
          WhiteBearAIOMagic.access$16402(this.this$0, 41);
          WhiteBearAIOMagic.access$2202(this.this$0, "Dragon Bolt");
        } else if (str3.contains("Onyx")) {
          WhiteBearAIOMagic.access$14702(this.this$0, 97.0D);
          WhiteBearAIOMagic.access$16302(this.this$0, 9245);
          WhiteBearAIOMagic.access$16402(this.this$0, 44);
          WhiteBearAIOMagic.access$2202(this.this$0, "Onyx Bolt");
        } else {
          WhiteBearAIOMagic.access$16500(this.this$0).severe("An error occured! [Enchant Crossbow Bolt]");
        }
      }
      else if (WhiteBearAIOMagic.access$2100(this.this$0) == 99) {
        str3 = (String)this.othersCombo.getSelectedItem();
        if (str3.contains("Bones to Banana")) {
          WhiteBearAIOMagic.access$2102(this.this$0, 6);
          WhiteBearAIOMagic.access$14602(this.this$0, 33);
          WhiteBearAIOMagic.access$14702(this.this$0, 25.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Bones to Bananas");
          WhiteBearAIOMagic.access$16602(this.this$0, 1963);
        } else if (str3.contains("Bones to Peaches")) {
          WhiteBearAIOMagic.access$2102(this.this$0, 6);
          WhiteBearAIOMagic.access$14602(this.this$0, 65);
          WhiteBearAIOMagic.access$14702(this.this$0, 65.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Bones to Peaches");
          WhiteBearAIOMagic.access$16602(this.this$0, 6883);
        } else if (str3.contains("Telekinetic Grab")) {
          WhiteBearAIOMagic.access$2102(this.this$0, 7);
          WhiteBearAIOMagic.access$14602(this.this$0, 44);
          WhiteBearAIOMagic.access$14702(this.this$0, 43.0D);
          WhiteBearAIOMagic.access$14802(this.this$0, "Telekinetic Grab");
        } else {
          WhiteBearAIOMagic.access$16700(this.this$0).severe("An error occured!");
        }
      }

      WhiteBearAIOMagic.access$9902(this.this$0, Integer.parseInt(this.tfNpcID.getText()));
      WhiteBearAIOMagic.access$9002(this.this$0, Integer.parseInt(this.tfItemID.getText()));
      WhiteBearAIOMagic.access$4502(this.this$0, (String)this.clrSelected.getSelectedItem());
      WhiteBearAIOMagic.access$2702(this.this$0, this.radioButton1.isSelected());
      WhiteBearAIOMagic.access$2802(this.this$0, this.radioButton2.isSelected());
      this.this$0.thePainter.antialias = (!this.radioButton22.isSelected());
      this.this$0.thePainter.font = this.tfTextFont.getText();
      WhiteBearAIOMagic.access$16802(this.this$0, this.radioButton25.isSelected());
      WhiteBearAIOMagic.access$16902(this.this$0, !this.radioButton23.isSelected());
      WhiteBearAIOMagic.access$3602(this.this$0, this.radioButton12.isSelected());
      this.this$0.antiban.checkFriend = this.check2.isSelected();
      this.this$0.antiban.checkExperience = this.check3.isSelected();
      this.this$0.antiban.screenLookaway = this.check4.isSelected();
      this.this$0.antiban.timeOutA1 = (Integer.parseInt(this.jTextField6.getText()) * 1000);
      this.this$0.antiban.timeOutA2 = (Integer.parseInt(this.jTextField5.getText()) * 1000);
      this.this$0.antiban.lengthA1 = (Integer.parseInt(this.jTextField6.getText()) * 1000);
      this.this$0.antiban.lengthA2 = (Integer.parseInt(this.jTextField5.getText()) * 1000);
      WhiteBearAIOMagic.access$17002(this.this$0, this.radioButton3.isSelected());
      WhiteBearAIOMagic.access$4902(this.this$0, Integer.parseInt(this.jTextField.getText()));
      WhiteBearAIOMagic.access$5002(this.this$0, Integer.parseInt(this.jTextField2.getText()));
      if (WhiteBearAIOMagic.access$4900(this.this$0) >= WhiteBearAIOMagic.access$5000(this.this$0)) {
        WhiteBearAIOMagic.access$5002(this.this$0, WhiteBearAIOMagic.access$4900(this.this$0) + 1);
      }
      WhiteBearAIOMagic.access$2902(this.this$0, Integer.parseInt(this.formattedTextField1.getText()));
      WhiteBearAIOMagic.access$3002(this.this$0, Integer.parseInt(this.formattedTextField3.getText()));
      WhiteBearAIOMagic.access$3102(this.this$0, Integer.parseInt(this.formattedTextField2.getText()));
      WhiteBearAIOMagic.access$3202(this.this$0, Integer.parseInt(this.formattedTextField4.getText()));
      if (WhiteBearAIOMagic.access$2900(this.this$0) < 10)
        WhiteBearAIOMagic.access$2902(this.this$0, 10);
      else if (WhiteBearAIOMagic.access$2900(this.this$0) >= 50001) {
        WhiteBearAIOMagic.access$2902(this.this$0, 50000);
      }
      if (WhiteBearAIOMagic.access$3000(this.this$0) < 3)
        WhiteBearAIOMagic.access$3002(this.this$0, 3);
      else if (WhiteBearAIOMagic.access$3000(this.this$0) >= 20001) {
        WhiteBearAIOMagic.access$3002(this.this$0, 20000);
      }
      if (WhiteBearAIOMagic.access$3000(this.this$0) > WhiteBearAIOMagic.access$2900(this.this$0)) {
        WhiteBearAIOMagic.access$3002(this.this$0, WhiteBearAIOMagic.access$2900(this.this$0) - 1);
      }

      if (WhiteBearAIOMagic.access$3100(this.this$0) < 2)
        WhiteBearAIOMagic.access$3102(this.this$0, 2);
      else if (WhiteBearAIOMagic.access$3100(this.this$0) >= 35001) {
        WhiteBearAIOMagic.access$3102(this.this$0, 35000);
      }
      if (WhiteBearAIOMagic.access$3200(this.this$0) < 1)
        WhiteBearAIOMagic.access$3202(this.this$0, 1);
      else if (WhiteBearAIOMagic.access$3200(this.this$0) >= 15001) {
        WhiteBearAIOMagic.access$3202(this.this$0, 15000);
      }
      if (WhiteBearAIOMagic.access$3200(this.this$0) > WhiteBearAIOMagic.access$3100(this.this$0)) {
        WhiteBearAIOMagic.access$3202(this.this$0, WhiteBearAIOMagic.access$3100(this.this$0) - 1);
      }
      long l1 = Long.parseLong(this.textHour.getText());
      long l2 = Long.parseLong(this.textMinute.getText());
      long l3 = Long.parseLong(this.textSecond.getText());
      if ((l1 <= 0L) && (l2 <= 0L) && (l3 <= 0L)) {
        WhiteBearAIOMagic.access$17102(this.this$0, -1L);
      } else {
        long l4 = 0L;
        long l5;
        if (l1 > 1L) {
          l5 = l4;
          l4 = l5 + l1 * 3600000L;
        }
        if (l2 > 1L) {
          l5 = l4;
          l4 = l5 + l2 * 60000L;
        }
        if (l3 > 1L) {
          l5 = l4;
          l4 = l5 + l3 * 1000L;
        }
        WhiteBearAIOMagic.access$17102(this.this$0, l1 * 3600000L + l2 * 60000L + l3 * 1000L);
      }
      WhiteBearAIOMagic.access$3802(this.this$0, this.radioButton11.isSelected());
      WhiteBearAIOMagic.access$17202(this.this$0, this.radioButton26.isSelected());
      try {
        WhiteBearAIOMagic.access$11402(this.this$0, this.formattedTextField11.getText().toLowerCase());
      } catch (Exception localException1) {
        WhiteBearAIOMagic.access$11402(this.this$0, "");
      }
      try {
        WhiteBearAIOMagic.access$11502(this.this$0, this.formattedTextField21.getText().toLowerCase());
      } catch (Exception localException2) {
        WhiteBearAIOMagic.access$11502(this.this$0, "");
      }
      try {
        WhiteBearAIOMagic.access$11702(this.this$0, this.formattedTextField22.getText().toLowerCase());
      } catch (Exception localException3) {
        WhiteBearAIOMagic.access$11502(this.this$0, "");
      }
      try {
        WhiteBearAIOMagic.access$17302(this.this$0, Integer.parseInt(this.formattedTextField31.getText()));
      }
      catch (Exception localException4) {
        WhiteBearAIOMagic.access$17302(this.this$0, -1);
      }
      WhiteBearAIOMagic.access$10500(this.this$0).setProperty("UseSetting", String.valueOf(this.useSetting));

      if (this.useSetting) {
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("NpcID", this.tfNpcID.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("ItemID", this.tfItemID.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("SpellTypeCombo", Integer.toString(this.spellTypeCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("SuperheatCombo", Integer.toString(this.superheatCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("BankCombo", Integer.toString(this.bankCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("AlchemyCombo", Integer.toString(this.alchemyCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("BoltCombo", Integer.toString(this.boltCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("EnchantCombo", Integer.toString(this.enchantCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("CurseCombo", Integer.toString(this.curseCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("OthersCombo", Integer.toString(this.othersCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("TeleportCombo", Integer.toString(this.teleportCombo.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("UseChatRes", String.valueOf(this.radioButton12.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("CheckUpdate", String.valueOf(this.radioButton25.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("PaintColour", String.valueOf(this.clrSelected.getSelectedIndex()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("PaintFont", this.tfTextFont.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("Fkeys", String.valueOf(this.radioButton23.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("MinMouseSpeed", this.jTextField.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("MaxMouseSpeed", this.jTextField2.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("Antialias", String.valueOf(this.radioButton22.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("Breaking", String.valueOf(this.radioButton1.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RandomBreak", String.valueOf(this.radioButton2.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("CheckFriend", String.valueOf(this.check2.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("CheckExperience", String.valueOf(this.check3.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("ScreenLookaway", String.valueOf(this.check4.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("TimeoutA1", this.jTextField3.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("TimeoutA2", this.jTextField4.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("LengthA1", this.jTextField6.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("LengthA2", this.jTextField5.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("BreakLogout", String.valueOf(this.radioButton3.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("MidTime", this.formattedTextField1.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RandTime", this.formattedTextField3.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("MidLength", this.formattedTextField2.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RandLength", this.formattedTextField4.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("AutoStopH", this.textHour.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("AutoStopM", this.textMinute.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("AutoStopS", this.textSecond.getText());
        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("Remote", String.valueOf(this.radioButton11.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RemoteName", this.formattedTextField11.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RemoteText", this.formattedTextField21.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RemoteReply", this.formattedTextField22.getText());

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("Relog", String.valueOf(this.radioButton26.isSelected()));

        WhiteBearAIOMagic.access$10500(this.this$0).setProperty("RelogTime", this.formattedTextField31.getText());
      }
      try
      {
        WhiteBearAIOMagic.access$10500(this.this$0).store(new FileWriter(new File(GlobalConfiguration.Paths.getSettingsDirectory(), "WhiteBearAIOMagicV2.ini")), "The GUI Settings for White Bear AIO Magic (Version: " + Double.toString(this.this$0.properties.version()) + ")");

        if (this.first)
          this.this$0.log("[GUI] Created a settings file!");
      } catch (IOException localIOException) {
        WhiteBearAIOMagic.access$17400(this.this$0).warning("[GUI] Error occurred when saving GUI settings!");
      }

      WhiteBearAIOMagic.access$17502(this.this$0, true);
      this.WhiteBearGUI.dispose();
    }
  }

  private void button2ActionPerformed(ActionEvent paramActionEvent) {
    if (!WhiteBearAIOMagic.access$14300(this.this$0)) {
      WhiteBearAIOMagic.access$14302(this.this$0, true);
      SwingUtilities.invokeLater(new WhiteBearAIOMagic.WhiteBearGUI.1(this));
    }
  }

  private void radioButton2ActionPerformed(ActionEvent paramActionEvent)
  {
    WhiteBearAIOMagic.access$2802(this.this$0, this.radioButton2.isSelected());
    if (WhiteBearAIOMagic.access$2800(this.this$0) == true) {
      this.formattedTextField1.setEnabled(false);
      this.formattedTextField2.setEnabled(false);
      this.formattedTextField3.setEnabled(false);
      this.formattedTextField4.setEnabled(false);
    } else {
      this.formattedTextField1.setEnabled(true);
      this.formattedTextField2.setEnabled(true);
      this.formattedTextField3.setEnabled(true);
      this.formattedTextField4.setEnabled(true);
    }
  }

  private void initComponents() {
    this.WhiteBearGUI = new JFrame();
    this.panel1 = new JPanel();
    this.tabbedPane1 = new JTabbedPane();
    this.panel6 = new JPanel();
    this.radioButton12 = new JCheckBox();
    this.teleportCombo = new JComboBox();
    this.radioButton25 = new JCheckBox();
    this.button2 = new JButton();
    this.label7 = new JLabel();
    this.spellTypeCombo = new JComboBox();
    this.label31 = new JLabel();
    this.tfItemID = new JFormattedTextField();
    this.alchemyCombo = new JComboBox();
    this.boltCombo = new JComboBox();
    this.label32 = new JLabel();
    this.label33 = new JLabel();
    this.curseCombo = new JComboBox();
    this.label34 = new JLabel();
    this.tfNpcID = new JFormattedTextField();
    this.enchantCombo = new JComboBox();
    this.othersCombo = new JComboBox();
    this.label35 = new JLabel();
    this.bankCombo = new JComboBox();
    this.label36 = new JLabel();
    this.superheatCombo = new JComboBox();
    this.panel2 = new JPanel();
    this.jTextField = new JFormattedTextField();
    this.radioButton22 = new JCheckBox();
    this.label4 = new JLabel();
    this.clrSelected = new JComboBox();
    this.label5 = new JLabel();
    this.label6 = new JLabel();
    this.label16 = new JLabel();
    this.textSecond = new JFormattedTextField();
    this.label15 = new JLabel();
    this.textMinute = new JFormattedTextField();
    this.label14 = new JLabel();
    this.textHour = new JFormattedTextField();
    this.label13 = new JLabel();
    this.jTextField2 = new JFormattedTextField();
    this.label21 = new JLabel();
    this.radioButton23 = new JCheckBox();
    this.label30 = new JLabel();
    this.tfTextFont = new JFormattedTextField();
    this.panel3 = new JPanel();
    this.radioButton1 = new JCheckBox();
    this.radioButton2 = new JCheckBox();
    this.label8 = new JLabel();
    this.formattedTextField1 = new JFormattedTextField();
    this.label9 = new JLabel();
    this.label10 = new JLabel();
    this.formattedTextField3 = new JFormattedTextField();
    this.label11 = new JLabel();
    this.formattedTextField2 = new JFormattedTextField();
    this.label12 = new JLabel();
    this.formattedTextField4 = new JFormattedTextField();
    this.radioButton3 = new JCheckBox();
    this.panel5 = new JPanel();
    this.check3 = new JCheckBox();
    this.check2 = new JCheckBox();
    this.check4 = new JCheckBox();
    this.label22 = new JLabel();
    this.jTextField3 = new JFormattedTextField();
    this.label23 = new JLabel();
    this.jTextField4 = new JFormattedTextField();
    this.label24 = new JLabel();
    this.label25 = new JLabel();
    this.label26 = new JLabel();
    this.label27 = new JLabel();
    this.label28 = new JLabel();
    this.jTextField5 = new JFormattedTextField();
    this.label29 = new JLabel();
    this.jTextField6 = new JFormattedTextField();
    this.panel4 = new JPanel();
    this.textArea3 = new JTextArea();
    this.radioButton11 = new JCheckBox();
    this.label17 = new JLabel();
    this.formattedTextField11 = new JFormattedTextField();
    this.label18 = new JLabel();
    this.formattedTextField21 = new JFormattedTextField();
    this.radioButton26 = new JCheckBox();
    this.formattedTextField31 = new JFormattedTextField();
    this.label19 = new JLabel();
    this.label20 = new JLabel();
    this.formattedTextField22 = new JFormattedTextField();
    this.button1 = new JButton();
    this.label1 = new JLabel();
    this.label2 = new JLabel();

    this.WhiteBearGUI.setAlwaysOnTop(true);
    this.WhiteBearGUI.setBackground(Color.black);
    this.WhiteBearGUI.setResizable(false);
    this.WhiteBearGUI.setMinimumSize(new Dimension(405, 405));
    this.WhiteBearGUI.setTitle("White Bear AIO Magic");
    this.WhiteBearGUI.setDefaultCloseOperation(0);

    this.WhiteBearGUI.setFont(new Font("Century Gothic", 0, 12));

    Container localContainer = this.WhiteBearGUI.getContentPane();

    localContainer.setLayout(null);

    this.panel1.setBackground(Color.black);
    this.panel1.setForeground(Color.green);
    this.panel1.setMinimumSize(new Dimension(100, 200));
    this.panel1.setLayout(null);

    this.tabbedPane1.setFont(new Font("Century Gothic", 0, 12));

    this.tabbedPane1.setForeground(new Color(0, 153, 0));

    this.panel6.setBackground(Color.black);
    this.panel6.setLayout(null);

    this.radioButton12.setText("Use Chat Responder");
    this.radioButton12.setBackground(Color.black);
    this.radioButton12.setForeground(Color.yellow);
    this.radioButton12.setFont(new Font("Century Gothic", 1, 13));

    this.radioButton12.setSelected(true);
    this.panel6.add(this.radioButton12);
    this.radioButton12.setBounds(new Rectangle(new Point(17, 155), this.radioButton12.getPreferredSize()));

    this.teleportCombo.setBackground(Color.black);
    this.teleportCombo.setForeground(new Color(51, 51, 51));
    this.teleportCombo.setBorder(null);
    this.teleportCombo.setFont(new Font("Century Gothic", 1, 12));

    this.teleportCombo.setModel(new DefaultComboBoxModel(new String[] { "Varrock Teleport", "Lumbridge Teleport", "Falador Teleport", "Camelot Teleport", "Ardougne Teleport", "Watchtower Teleport", "Trollheim Teleport", "Teleport to Ape Atoll" }));

    this.teleportCombo.setSelectedIndex(0);
    this.panel6.add(this.teleportCombo);
    this.teleportCombo.setBounds(75, 64, 155, 25);

    this.radioButton25.setText("Check for Updates");
    this.radioButton25.setBackground(Color.black);
    this.radioButton25.setForeground(Color.yellow);
    this.radioButton25.setFont(new Font("Century Gothic", 1, 13));

    this.radioButton25.setSelected(true);
    this.panel6.add(this.radioButton25);
    this.radioButton25.setBounds(17, 191, 150, 25);

    this.button2.setText("Customize");
    this.button2.setBackground(Color.black);
    this.button2.setFont(new Font("Century Gothic", 1, 12));

    this.button2.setForeground(new Color(0, 102, 51));
    this.button2.addActionListener(new WhiteBearAIOMagic.WhiteBearGUI.2(this));

    this.panel6.add(this.button2);
    this.button2.setBounds(183, 157, 95, 23);

    this.label7.setText("Spell Type:");
    this.label7.setBackground(new Color(51, 51, 51));
    this.label7.setForeground(new Color(255, 204, 0));
    this.label7.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label7);
    this.label7.setBounds(20, 20, 85, 20);

    this.spellTypeCombo.setBackground(Color.black);
    this.spellTypeCombo.setForeground(new Color(51, 51, 51));
    this.spellTypeCombo.setBorder(null);
    this.spellTypeCombo.setFont(new Font("Century Gothic", 1, 12));

    this.spellTypeCombo.setModel(new DefaultComboBoxModel(new String[] { "Teleports", "Alchemy", "Curses", "Alch + Curse", "Enchants", "Superheat", "Bolt Enchant", "Others" }));

    this.spellTypeCombo.addItemListener(new WhiteBearAIOMagic.WhiteBearGUI.3(this));

    this.panel6.add(this.spellTypeCombo);
    this.spellTypeCombo.setBounds(110, 20, 145, 25);
    this.spellTypeCombo.setSelectedIndex(1);
    this.spellTypeCombo.setSelectedIndex(0);

    this.label31.setText("Item ID:");
    this.label31.setBackground(new Color(51, 51, 51));
    this.label31.setForeground(new Color(255, 255, 102));
    this.label31.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label31);
    this.label31.setBounds(240, 65, 60, 20);

    this.tfItemID.setFont(new Font("Century Gothic", 0, 12));

    this.tfItemID.setForeground(new Color(255, 255, 204));
    this.tfItemID.setBackground(Color.gray);
    this.tfItemID.setText("0");
    this.panel6.add(this.tfItemID);
    this.tfItemID.setBounds(300, 65, 50, 23);

    this.alchemyCombo.setBackground(Color.black);
    this.alchemyCombo.setForeground(new Color(51, 51, 51));
    this.alchemyCombo.setBorder(null);
    this.alchemyCombo.setFont(new Font("Century Gothic", 1, 12));

    this.alchemyCombo.setModel(new DefaultComboBoxModel(new String[] { "Low Level Alchemy", "High Level Alchemy" }));

    this.alchemyCombo.setSelectedIndex(0);
    this.panel6.add(this.alchemyCombo);
    this.alchemyCombo.setBounds(75, 64, 155, 25);

    this.boltCombo.setBackground(Color.black);
    this.boltCombo.setForeground(new Color(51, 51, 51));
    this.boltCombo.setBorder(null);
    this.boltCombo.setFont(new Font("Century Gothic", 1, 12));

    this.boltCombo.setModel(new DefaultComboBoxModel(new String[] { "Sapphire", "Emerald", "Ruby", "Diamond", "Dragon", "Onyx" }));

    this.boltCombo.setSelectedIndex(0);
    this.panel6.add(this.boltCombo);
    this.boltCombo.setBounds(75, 64, 155, 25);

    this.label32.setText("Spell:");
    this.label32.setBackground(new Color(51, 51, 51));
    this.label32.setForeground(new Color(255, 255, 102));
    this.label32.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label32);
    this.label32.setBounds(20, 65, 50, 20);

    this.label33.setText("Spell:");
    this.label33.setBackground(new Color(51, 51, 51));
    this.label33.setForeground(new Color(255, 255, 102));
    this.label33.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label33);
    this.label33.setBounds(20, 107, 50, 20);

    this.curseCombo.setBackground(Color.black);
    this.curseCombo.setForeground(new Color(51, 51, 51));
    this.curseCombo.setBorder(null);
    this.curseCombo.setFont(new Font("Century Gothic", 1, 12));

    this.curseCombo.setModel(new DefaultComboBoxModel(new String[] { "Confuse", "Weaken", "Curse", "Bind", "Snare", "Vulnerability", "Enfeeble", "Entangle", "Stun" }));

    this.curseCombo.setSelectedIndex(0);
    this.panel6.add(this.curseCombo);
    this.curseCombo.setBounds(75, 106, 155, 25);

    this.label34.setText("NPC ID:");
    this.label34.setBackground(new Color(51, 51, 51));
    this.label34.setForeground(new Color(255, 255, 102));
    this.label34.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label34);
    this.label34.setBounds(240, 107, 60, 20);

    this.tfNpcID.setFont(new Font("Century Gothic", 0, 12));

    this.tfNpcID.setForeground(new Color(255, 255, 204));
    this.tfNpcID.setBackground(Color.gray);
    this.tfNpcID.setText("0");
    this.panel6.add(this.tfNpcID);
    this.tfNpcID.setBounds(300, 107, 50, 23);

    this.enchantCombo.setBackground(Color.black);
    this.enchantCombo.setForeground(new Color(51, 51, 51));
    this.enchantCombo.setBorder(null);
    this.enchantCombo.setFont(new Font("Century Gothic", 1, 12));

    this.enchantCombo.setModel(new DefaultComboBoxModel(new String[] { "Enchant Level 1", "Enchant Level 2", "Enchant Level 3", "Enchant Level 4", "Enchant Level 5", "Enchant Level 6" }));

    this.enchantCombo.setSelectedIndex(0);
    this.panel6.add(this.enchantCombo);
    this.enchantCombo.setBounds(75, 65, 155, 25);

    this.othersCombo.setBackground(Color.black);
    this.othersCombo.setForeground(new Color(51, 51, 51));
    this.othersCombo.setBorder(null);
    this.othersCombo.setFont(new Font("Century Gothic", 1, 12));

    this.othersCombo.setModel(new DefaultComboBoxModel(new String[] { "Bones to Banana", "Bones to Peaches", "Telekinetic Grab" }));

    this.othersCombo.setSelectedIndex(0);
    this.panel6.add(this.othersCombo);
    this.othersCombo.setBounds(75, 65, 155, 25);

    this.label35.setText("Bank using:");
    this.label35.setBackground(new Color(51, 51, 51));
    this.label35.setForeground(new Color(255, 255, 102));
    this.label35.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label35);
    this.label35.setBounds(20, 107, 80, 20);

    this.bankCombo.setBackground(Color.black);
    this.bankCombo.setForeground(new Color(51, 51, 51));
    this.bankCombo.setBorder(null);
    this.bankCombo.setFont(new Font("Century Gothic", 1, 12));

    this.bankCombo.setModel(new DefaultComboBoxModel(new String[] { "Bankers", "Bank Booth", "Chests", "Chest (Soul Wars)" }));

    this.bankCombo.setSelectedIndex(0);
    this.panel6.add(this.bankCombo);
    this.bankCombo.setBounds(105, 107, 125, 25);

    this.label36.setText("Superheat:");
    this.label36.setBackground(new Color(51, 51, 51));
    this.label36.setForeground(new Color(255, 255, 102));
    this.label36.setFont(new Font("Century Gothic", 1, 14));

    this.panel6.add(this.label36);
    this.label36.setBounds(20, 65, 75, 20);

    this.superheatCombo.setBackground(Color.black);
    this.superheatCombo.setForeground(new Color(51, 51, 51));
    this.superheatCombo.setBorder(null);
    this.superheatCombo.setFont(new Font("Century Gothic", 1, 12));

    this.superheatCombo.setModel(new DefaultComboBoxModel(new String[] { "Bronze", "Iron", "Steel", "Silver", "Gold", "Mithril", "Adamant", "Rune" }));

    this.superheatCombo.setSelectedIndex(0);
    this.panel6.add(this.superheatCombo);
    this.superheatCombo.setBounds(100, 64, 95, 25);

    Dimension localDimension = new Dimension();
    Rectangle localRectangle;
    for (int i = 0; i < this.panel6.getComponentCount(); i++) {
      localRectangle = this.panel6.getComponent(i).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets1 = this.panel6.getInsets();
    localDimension.width += localInsets1.right;
    localDimension.height += localInsets1.bottom;
    this.panel6.setMinimumSize(localDimension);
    this.panel6.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Info", this.panel6);

    this.panel2.setBackground(Color.black);
    this.panel2.setLayout(null);

    this.jTextField.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField.setForeground(new Color(255, 255, 204));
    this.jTextField.setBackground(Color.gray);
    this.jTextField.setText("4");
    this.panel2.add(this.jTextField);
    this.jTextField.setBounds(120, 93, 35, 23);

    this.radioButton22.setText("Disable Paint Antialias");
    this.radioButton22.setBackground(Color.black);
    this.radioButton22.setForeground(Color.yellow);
    this.radioButton22.setFont(new Font("Century Gothic", 1, 13));

    this.panel2.add(this.radioButton22);
    this.radioButton22.setBounds(17, 130, 175, 25);

    this.label4.setText("Paint Colour");
    this.label4.setBackground(new Color(51, 51, 51));
    this.label4.setForeground(new Color(255, 255, 102));
    this.label4.setFont(new Font("Century Gothic", 1, 14));

    this.panel2.add(this.label4);
    this.label4.setBounds(20, 17, 90, 20);

    this.clrSelected.setBackground(Color.black);
    this.clrSelected.setForeground(new Color(51, 51, 51));
    this.clrSelected.setBorder(null);
    this.clrSelected.setFont(new Font("Century Gothic", 1, 12));

    this.clrSelected.setModel(new DefaultComboBoxModel(new String[] { "Black", "Blue", "Green", "Red", "Purple", "Brown" }));

    this.clrSelected.setSelectedIndex(0);
    this.panel2.add(this.clrSelected);
    this.clrSelected.setBounds(118, 16, 110, 25);

    this.label5.setText("Mouse Speed");
    this.label5.setBackground(new Color(51, 51, 51));
    this.label5.setForeground(new Color(255, 255, 102));
    this.label5.setFont(new Font("Century Gothic", 1, 14));

    this.panel2.add(this.label5);
    this.label5.setBounds(20, 93, 100, 20);

    this.label6.setText("(higher = slower)");
    this.label6.setBackground(new Color(51, 51, 51));
    this.label6.setForeground(new Color(255, 255, 102));
    this.label6.setFont(new Font("Century Gothic", 1, 12));

    this.panel2.add(this.label6);
    this.label6.setBounds(225, 93, 105, 20);

    this.label16.setText("(hr:min:sec)");
    this.label16.setBackground(new Color(51, 51, 51));
    this.label16.setForeground(new Color(255, 255, 102));
    this.label16.setFont(new Font("Century Gothic", 1, 12));

    this.panel2.add(this.label16);
    this.label16.setBounds(220, 206, 80, 20);

    this.textSecond.setFont(new Font("Century Gothic", 0, 12));

    this.textSecond.setForeground(new Color(255, 255, 204));
    this.textSecond.setBackground(Color.gray);
    this.textSecond.setText("0");
    this.panel2.add(this.textSecond);
    this.textSecond.setBounds(185, 206, 30, 23);

    this.label15.setText(":");
    this.label15.setBackground(new Color(51, 51, 51));
    this.label15.setForeground(new Color(255, 255, 102));
    this.label15.setFont(new Font("Century Gothic", 1, 12));

    this.panel2.add(this.label15);
    this.label15.setBounds(175, 206, 10, 20);

    this.textMinute.setFont(new Font("Century Gothic", 0, 12));

    this.textMinute.setForeground(new Color(255, 255, 204));
    this.textMinute.setBackground(Color.gray);
    this.textMinute.setText("0");
    this.panel2.add(this.textMinute);
    this.textMinute.setBounds(140, 206, 30, 23);

    this.label14.setText(":");
    this.label14.setBackground(new Color(51, 51, 51));
    this.label14.setForeground(new Color(255, 255, 102));
    this.label14.setFont(new Font("Century Gothic", 1, 12));

    this.panel2.add(this.label14);
    this.label14.setBounds(135, 206, 10, 20);

    this.textHour.setFont(new Font("Century Gothic", 0, 12));

    this.textHour.setForeground(new Color(255, 255, 204));
    this.textHour.setBackground(Color.gray);
    this.textHour.setText("0");
    this.panel2.add(this.textHour);
    this.textHour.setBounds(100, 206, 30, 23);

    this.label13.setText("Auto Stop:");
    this.label13.setBackground(new Color(51, 51, 51));
    this.label13.setForeground(new Color(255, 255, 102));
    this.label13.setFont(new Font("Century Gothic", 1, 14));

    this.panel2.add(this.label13);
    this.label13.setBounds(20, 206, 75, 20);

    this.jTextField2.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField2.setForeground(new Color(255, 255, 204));
    this.jTextField2.setBackground(Color.gray);
    this.jTextField2.setText("6");
    this.panel2.add(this.jTextField2);
    this.jTextField2.setBounds(180, 93, 35, 23);

    this.label21.setText("to");
    this.label21.setBackground(new Color(51, 51, 51));
    this.label21.setForeground(new Color(255, 255, 102));
    this.label21.setFont(new Font("Century Gothic", 1, 12));

    this.panel2.add(this.label21);
    this.label21.setBounds(162, 93, 15, 20);

    this.radioButton23.setText("Disable F-keys");
    this.radioButton23.setBackground(Color.black);
    this.radioButton23.setForeground(Color.yellow);
    this.radioButton23.setFont(new Font("Century Gothic", 1, 13));

    this.panel2.add(this.radioButton23);
    this.radioButton23.setBounds(17, 167, 133, 25);

    this.label30.setText("Paint Font");
    this.label30.setBackground(new Color(51, 51, 51));
    this.label30.setForeground(new Color(255, 255, 102));
    this.label30.setFont(new Font("Century Gothic", 1, 14));

    this.panel2.add(this.label30);
    this.label30.setBounds(20, 56, 90, 20);

    this.tfTextFont.setFont(new Font("Century Gothic", 0, 12));

    this.tfTextFont.setForeground(new Color(255, 255, 204));
    this.tfTextFont.setBackground(Color.gray);
    this.tfTextFont.setText("sansserif");
    this.panel2.add(this.tfTextFont);
    this.tfTextFont.setBounds(119, 56, 108, 23);

    localDimension = new Dimension();
    for (int j = 0; j < this.panel2.getComponentCount(); j++) {
      localRectangle = this.panel2.getComponent(j).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets2 = this.panel2.getInsets();
    localDimension.width += localInsets2.right;
    localDimension.height += localInsets2.bottom;
    this.panel2.setMinimumSize(localDimension);
    this.panel2.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Option", this.panel2);

    this.panel3.setBackground(Color.black);
    this.panel3.setLayout(null);

    this.radioButton1.setText("Use Breaking");
    this.radioButton1.setBackground(Color.black);
    this.radioButton1.setForeground(Color.yellow);
    this.radioButton1.setFont(new Font("Century Gothic", 1, 13));

    this.panel3.add(this.radioButton1);
    this.radioButton1.setBounds(17, 20, 120, 25);

    this.radioButton2.setText("Completely Random");
    this.radioButton2.setBackground(Color.black);
    this.radioButton2.setForeground(Color.yellow);
    this.radioButton2.setFont(new Font("Century Gothic", 1, 13));

    this.radioButton2.addActionListener(new WhiteBearAIOMagic.WhiteBearGUI.4(this));

    this.panel3.add(this.radioButton2);
    this.radioButton2.setBounds(175, 20, 170, 25);

    this.label8.setText("Time between breaks:");
    this.label8.setBackground(new Color(51, 51, 51));
    this.label8.setForeground(new Color(255, 255, 102));
    this.label8.setFont(new Font("Century Gothic", 1, 12));

    this.panel3.add(this.label8);
    this.label8.setBounds(20, 65, 140, 20);

    this.formattedTextField1.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField1.setForeground(new Color(255, 255, 204));

    this.formattedTextField1.setBackground(Color.gray);
    this.formattedTextField1.setText("90");
    this.panel3.add(this.formattedTextField1);
    this.formattedTextField1.setBounds(160, 65, 45, 23);

    this.label9.setText("±");
    this.label9.setBackground(new Color(51, 51, 51));
    this.label9.setForeground(new Color(255, 255, 102));
    this.label9.setFont(new Font("Century Gothic", 1, 12));

    this.panel3.add(this.label9);
    this.label9.setBounds(225, 65, 15, 20);

    this.label10.setText("(time unit: minutes)");
    this.label10.setBackground(new Color(51, 51, 51));
    this.label10.setForeground(new Color(255, 255, 102));
    this.label10.setFont(new Font("Century Gothic", 1, 12));

    this.panel3.add(this.label10);
    this.label10.setBounds(240, 135, 110, 20);

    this.formattedTextField3.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField3.setForeground(new Color(255, 255, 204));

    this.formattedTextField3.setBackground(Color.gray);
    this.formattedTextField3.setText("90");
    this.panel3.add(this.formattedTextField3);
    this.formattedTextField3.setBounds(240, 65, 45, 23);

    this.label11.setText("Length of breaks:");
    this.label11.setBackground(new Color(51, 51, 51));
    this.label11.setForeground(new Color(255, 255, 102));
    this.label11.setFont(new Font("Century Gothic", 1, 12));

    this.panel3.add(this.label11);
    this.label11.setBounds(20, 110, 110, 20);

    this.formattedTextField2.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField2.setForeground(new Color(255, 255, 204));

    this.formattedTextField2.setBackground(Color.gray);
    this.formattedTextField2.setText("8");
    this.panel3.add(this.formattedTextField2);
    this.formattedTextField2.setBounds(160, 110, 45, 23);

    this.label12.setText("±");
    this.label12.setBackground(new Color(51, 51, 51));
    this.label12.setForeground(new Color(255, 255, 102));
    this.label12.setFont(new Font("Century Gothic", 1, 12));

    this.panel3.add(this.label12);
    this.label12.setBounds(225, 110, 15, 20);

    this.formattedTextField4.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField4.setForeground(new Color(255, 255, 204));

    this.formattedTextField4.setBackground(Color.gray);
    this.formattedTextField4.setText("2");
    this.panel3.add(this.formattedTextField4);
    this.formattedTextField4.setBounds(240, 110, 45, 23);

    this.radioButton3.setText("Logout before break starts");
    this.radioButton3.setBackground(Color.black);
    this.radioButton3.setForeground(Color.yellow);
    this.radioButton3.setFont(new Font("Century Gothic", 1, 13));

    this.panel3.add(this.radioButton3);
    this.radioButton3.setBounds(17, 170, 208, 25);

    localDimension = new Dimension();
    for (int k = 0; k < this.panel3.getComponentCount(); k++) {
      localRectangle = this.panel3.getComponent(k).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets3 = this.panel3.getInsets();
    localDimension.width += localInsets3.right;
    localDimension.height += localInsets3.bottom;
    this.panel3.setMinimumSize(localDimension);
    this.panel3.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Breaking", this.panel3);

    this.panel5.setBackground(Color.black);
    this.panel5.setLayout(null);

    this.check3.setText("Check magic exp");
    this.check3.setBackground(Color.black);
    this.check3.setForeground(Color.yellow);
    this.check3.setFont(new Font("Century Gothic", 1, 13));

    this.check3.setSelected(true);
    this.panel5.add(this.check3);
    this.check3.setBounds(17, 15, 145, 25);

    this.check2.setText("Check friends");
    this.check2.setBackground(Color.black);
    this.check2.setForeground(Color.yellow);
    this.check2.setFont(new Font("Century Gothic", 1, 13));

    this.panel5.add(this.check2);
    this.check2.setBounds(175, 15, 145, 25);

    this.check4.setText("Take short breaks between casts");
    this.check4.setBackground(Color.black);
    this.check4.setForeground(Color.yellow);
    this.check4.setFont(new Font("Century Gothic", 1, 13));

    this.panel5.add(this.check4);
    this.check4.setBounds(17, 66, 338, 25);

    this.label22.setText("Timeout");
    this.label22.setBackground(new Color(51, 51, 51));
    this.label22.setForeground(new Color(255, 255, 102));
    this.label22.setFont(new Font("Century Gothic", 1, 14));

    this.panel5.add(this.label22);
    this.label22.setBounds(20, 101, 65, 20);

    this.jTextField3.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField3.setForeground(new Color(255, 255, 204));
    this.jTextField3.setBackground(Color.gray);
    this.jTextField3.setText("30");
    this.panel5.add(this.jTextField3);
    this.jTextField3.setBounds(119, 101, 40, 23);

    this.label23.setText("Max:");
    this.label23.setBackground(new Color(51, 51, 51));
    this.label23.setForeground(new Color(255, 255, 102));
    this.label23.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label23);
    this.label23.setBounds(167, 101, 38, 20);

    this.jTextField4.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField4.setForeground(new Color(255, 255, 204));
    this.jTextField4.setBackground(Color.gray);
    this.jTextField4.setText("80");
    this.panel5.add(this.jTextField4);
    this.jTextField4.setBounds(203, 101, 40, 23);

    this.label24.setText("(in seconds)");
    this.label24.setBackground(new Color(51, 51, 51));
    this.label24.setForeground(new Color(255, 255, 102));
    this.label24.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label24);
    this.label24.setBounds(251, 101, 83, 20);

    this.label25.setText("Min:");
    this.label25.setBackground(new Color(51, 51, 51));
    this.label25.setForeground(new Color(255, 255, 102));
    this.label25.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label25);
    this.label25.setBounds(86, 101, 36, 20);

    this.label26.setText("Length");
    this.label26.setBackground(new Color(51, 51, 51));
    this.label26.setForeground(new Color(255, 255, 102));
    this.label26.setFont(new Font("Century Gothic", 1, 14));

    this.panel5.add(this.label26);
    this.label26.setBounds(20, 136, 65, 20);

    this.label27.setText("Min:");
    this.label27.setBackground(new Color(51, 51, 51));
    this.label27.setForeground(new Color(255, 255, 102));
    this.label27.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label27);
    this.label27.setBounds(90, 136, 36, 20);

    this.label28.setText("(in seconds)");
    this.label28.setBackground(new Color(51, 51, 51));
    this.label28.setForeground(new Color(255, 255, 102));
    this.label28.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label28);
    this.label28.setBounds(255, 136, 83, 20);

    this.jTextField5.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField5.setForeground(new Color(255, 255, 204));
    this.jTextField5.setBackground(Color.gray);
    this.jTextField5.setText("3");
    this.panel5.add(this.jTextField5);
    this.jTextField5.setBounds(205, 136, 40, 23);

    this.label29.setText("Max:");
    this.label29.setBackground(new Color(51, 51, 51));
    this.label29.setForeground(new Color(255, 255, 102));
    this.label29.setFont(new Font("Century Gothic", 1, 12));

    this.panel5.add(this.label29);
    this.label29.setBounds(170, 136, 38, 20);

    this.jTextField6.setFont(new Font("Century Gothic", 0, 12));

    this.jTextField6.setForeground(new Color(255, 255, 204));
    this.jTextField6.setBackground(Color.gray);
    this.jTextField6.setText("1");
    this.panel5.add(this.jTextField6);
    this.jTextField6.setBounds(120, 136, 40, 23);

    localDimension = new Dimension();
    for (int m = 0; m < this.panel5.getComponentCount(); m++) {
      localRectangle = this.panel5.getComponent(m).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets4 = this.panel5.getInsets();
    localDimension.width += localInsets4.right;
    localDimension.height += localInsets4.bottom;
    this.panel5.setMinimumSize(localDimension);
    this.panel5.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Antiban", this.panel5);

    this.panel4.setBackground(Color.black);
    this.panel4.setLayout(null);

    this.textArea3.setText("Allows remote stopping of script. When the character says the pass to you in clan chat, you will be logged out, thus \nallowing you to login to your account.");

    this.textArea3.setLineWrap(true);
    this.textArea3.setFont(new Font("Century Gothic", 0, 12));

    this.textArea3.setTabSize(0);
    this.textArea3.setBackground(Color.gray);
    this.textArea3.setForeground(new Color(255, 255, 104));
    this.textArea3.setEditable(false);
    this.textArea3.setBorder(null);
    this.panel4.add(this.textArea3);
    this.textArea3.setBounds(5, 5, 355, 52);

    this.radioButton11.setText("Enable Remote Control");
    this.radioButton11.setBackground(Color.black);
    this.radioButton11.setForeground(Color.yellow);
    this.radioButton11.setFont(new Font("Century Gothic", 1, 13));

    this.panel4.add(this.radioButton11);
    this.radioButton11.setBounds(17, 65, 180, 25);

    this.label17.setText("Character name");
    this.label17.setBackground(new Color(51, 51, 51));
    this.label17.setForeground(new Color(255, 255, 102));
    this.label17.setFont(new Font("Century Gothic", 1, 12));

    this.panel4.add(this.label17);
    this.label17.setBounds(20, 100, 110, 20);

    this.formattedTextField11.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField11.setForeground(new Color(255, 255, 204));

    this.formattedTextField11.setBackground(Color.gray);
    this.formattedTextField11.setText("Zezima");
    this.panel4.add(this.formattedTextField11);
    this.formattedTextField11.setBounds(135, 100, 120, 23);

    this.label18.setText("Pass");
    this.label18.setBackground(new Color(51, 51, 51));
    this.label18.setForeground(new Color(255, 255, 102));
    this.label18.setFont(new Font("Century Gothic", 1, 12));

    this.panel4.add(this.label18);
    this.label18.setBounds(20, 135, 35, 20);

    this.formattedTextField21.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField21.setForeground(new Color(255, 255, 204));

    this.formattedTextField21.setBackground(Color.gray);
    this.formattedTextField21.setText("Lets go shopping");
    this.panel4.add(this.formattedTextField21);
    this.formattedTextField21.setBounds(65, 135, 190, 23);

    this.radioButton26.setText("Relog after");
    this.radioButton26.setBackground(Color.black);
    this.radioButton26.setForeground(Color.yellow);
    this.radioButton26.setFont(new Font("Century Gothic", 1, 13));

    this.panel4.add(this.radioButton26);
    this.radioButton26.setBounds(17, 208, 103, 25);

    this.formattedTextField31.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField31.setForeground(new Color(255, 255, 204));

    this.formattedTextField31.setBackground(Color.gray);
    this.formattedTextField31.setText("15");
    this.panel4.add(this.formattedTextField31);
    this.formattedTextField31.setBounds(125, 208, 45, 23);

    this.label19.setText("minutes");
    this.label19.setBackground(new Color(51, 51, 51));
    this.label19.setForeground(new Color(255, 255, 102));
    this.label19.setFont(new Font("Century Gothic", 1, 12));

    this.panel4.add(this.label19);
    this.label19.setBounds(175, 209, 60, 20);

    this.label20.setText("Reply");
    this.label20.setBackground(new Color(51, 51, 51));
    this.label20.setForeground(new Color(255, 255, 102));
    this.label20.setFont(new Font("Century Gothic", 1, 12));

    this.panel4.add(this.label20);
    this.label20.setBounds(20, 170, 40, 20);

    this.formattedTextField22.setFont(new Font("Century Gothic", 0, 12));

    this.formattedTextField22.setForeground(new Color(255, 255, 204));

    this.formattedTextField22.setBackground(Color.gray);
    this.formattedTextField22.setText("Sure!");
    this.panel4.add(this.formattedTextField22);
    this.formattedTextField22.setBounds(75, 170, 180, 23);

    localDimension = new Dimension();
    for (int n = 0; n < this.panel4.getComponentCount(); n++) {
      localRectangle = this.panel4.getComponent(n).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets5 = this.panel4.getInsets();
    localDimension.width += localInsets5.right;
    localDimension.height += localInsets5.bottom;
    this.panel4.setMinimumSize(localDimension);
    this.panel4.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Remote", this.panel4);

    this.panel1.add(this.tabbedPane1);
    this.tabbedPane1.setBounds(15, 55, 370, 275);

    this.button1.setText("Start Training Magic!");
    this.button1.setBackground(Color.black);
    this.button1.setFont(new Font("Century Gothic", 1, 18));
    this.button1.setForeground(new Color(0, 102, 51));
    this.button1.addActionListener(new WhiteBearAIOMagic.WhiteBearGUI.5(this));

    this.panel1.add(this.button1);
    this.button1.setBounds(25, 335, 350, 55);

    this.label1.setText("White Bear AIO Magic");
    this.label1.setBackground(new Color(51, 51, 51));
    this.label1.setForeground(new Color(153, 255, 153));
    this.label1.setFont(new Font("Century Gothic", 1, 24));
    this.label1.setHorizontalAlignment(0);
    this.panel1.add(this.label1);
    this.label1.setBounds(40, 5, 315, 50);

    this.label2.setText("Version: 2.01");
    this.label2.setBackground(new Color(51, 51, 51));
    this.label2.setForeground(new Color(204, 255, 0));
    this.label2.setFont(new Font("Century Gothic", 0, 12));
    this.panel1.add(this.label2);
    this.label2.setBounds(300, 51, 83, 20);

    localDimension = new Dimension();
    for (int i1 = 0; i1 < this.panel1.getComponentCount(); i1++) {
      localRectangle = this.panel1.getComponent(i1).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets6 = this.panel1.getInsets();
    localDimension.width += localInsets6.right;
    localDimension.height += localInsets6.bottom;
    this.panel1.setMinimumSize(localDimension);
    this.panel1.setPreferredSize(localDimension);

    localContainer.add(this.panel1);
    this.panel1.setBounds(0, 0, 400, 405);

    localContainer.setPreferredSize(new Dimension(405, 425));

    this.WhiteBearGUI.setSize(405, 425);
    this.WhiteBearGUI.setLocationRelativeTo(this.WhiteBearGUI.getOwner());
    loadSettings();
  }
}